home *** CD-ROM | disk | FTP | other *** search
Text File | 1987-06-12 | 1.8 KB | 32 lines | [TEXT/MPS ] |
- (Display this in Chicago 12…)
-
- Quick note:
- -----------
- Due to a bug in recent versions of ResEdit, you cannot append to the _end_ of arrays
- which include the H### construct in its TMPL. For ease of entering, I represent RGB
- color combinations as H006 as opposed to specifying each component individually as
- HWRD’s or HLNG/HWRD. So, some care is required when entering new data.
-
- For example, an ‘mctb’ resource for default menu colors other than black and white
- should consist of two entries: one for the default values and one with an ID of -99 as
- a list terminator. You can use N twice in a newly created resource to create two
- blank entries (since the insertion point remains before the newly entered data).
- However, you can't create one, select the separator line at the _end_ of the resource
- and use N again - this’ll hang ResEdit and force you to reboot.
-
- So, rule of thumb for current versions of ResEdit - if you have to append to the end
- of an array list, insert _before_ the last item and retype the last two items. This
- probably won't make sense until you’ve done it once (and subsequently have hung
- your system), so _please_ only edit copies of files, _especially_ if you're playing
- around with the System file!
-
- RGB colors are represented as three hex words. Labels with following numbers in
- parentheses mean that that value should probably be what’s suggested. For example,
- wctb’s for standard windows always have five color entries, and their PartCode fields
- are always numbered 0 to 4, but you have to specify them because of the consistent
- format of color tables. Reserved items don't matter, but ought to be set to 0 for
- consistency.
-
- These templates were created on the spur of the moment to fill a temporary need,
- and by no means should be considered “official” - they’re just a quick’n’dirty hack.
-